<?php use_helper('JavascriptBase','GMap') ?>
<div id="content_pasajero">
<?php include_map($gMap) ?>
<?php include_map_javascript($gMap); ?>
<?php use_javascript('furniture_geoloc.js') ?>

</div><!--FIN CONTENT-->

<?php slot('login') ?>
<div class="post">
    <?php if (!$sf_user->isAuthenticated()): ?>
        <form action="<?php echo url_for('/login') ?>" method="POST">
            <table>
            <?php echo $signin ?>
            <tr>
                <td colspan="2">
                    <input type="submit" />
                </td>
            </tr>
        </table>
    </form>
    <?php else :?>
    <p>Bienvenido <?php echo $sf_user->getUsername() ?></p>
         <?php echo link_to('Logout', '@sf_guard_signout') ?>
    <?php endif ?>

</div>
<?php end_slot(); ?>


<?php slot('navegacion') ?>
<div id="navigation">
<form action="<?php echo url_for('pasajero/index') ?>" method="POST">
        <ul>
            <?php foreach ($peticion as $field): ?>
                <li>
                <?php if ($field != $peticion['_csrf_token']): ?>
                    <?php echo $field->renderError() ?>
                    <?php echo $field->renderLabel() ?>
                <?php endif ?>
                </li>    
                <li>
                    <?php echo $field->render() ?>
                </li>
            <?php endforeach; ?>
                <li>
                    <input type="submit" class="boton" />
                </li>
            </ul>
        </form>
</div><!--FIN navigation-->
<?php end_slot(); ?>

<?php slot('footer') ?>
<p>Sitio desarrollado para Proyecto de Base de Datos</p>
<p>KraxyTaxi By Jonnatan Oyarzun, Diego Soto, Marico Gacitua</p>
<?php end_slot(); ?>